﻿(function ($) {
    $.extend({
        header_canter_init: function (el) {
            var set_header_canter_init = setInterval(() => {
                console.log("1");
                var $header = $("#header-center");
                var $el = $(el);
                if ($header.length > 0 && $el.length > 0) {
                    $header.append($el);
                    $el.show();
                    clearInterval(set_header_canter_init);
                }
            }, 10);
        },
    })
})(jQuery);
